<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <link rel="stylesheet" href="./style.css">
    <title>Title</title>
    <style>
        .datepicker{
            border:1px solid #cccccc;
            border-radius: 4px;
            padding: 5px;
            height:24px;
            line-height:24px;
            width:230px;
        }
        .datepicker:focus{
            outline: 0 none;
            border: 1px solid #1abc9c;
        }
    </style>
</head>
<body>
<input type="text" class="datepicker">
<script type="text/javascript" src="./date.js"></script>
<script type="text/javascript" src="./main.js"></script>
<script>
//    var monthData =  datepicker.getMonthData(2016,12);
//    console.log('monthData',monthData);

//    datepicker.init(document.querySelector('.ui-datepicker-wrapper'));
    datepicker.init('.datepicker');
</script>
</body>
</html>